package com.pv.user.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 用户表
 * 
 * @author zk
 * @email 2638561747@qq.com
 * @date 2021-08-21 14:35:31
 */
@Data
@TableName("user")
public class UserEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
    @ApiModelProperty(value = "")
	@TableId
	private Integer id;
	/**
	 * 账号
	 */
    @ApiModelProperty(value = "账号")
	private String username;
	/**
	 * 密码
	 */
    @ApiModelProperty(value = "密码")
	private String password;
	/**
	 * 头像
	 */
    @ApiModelProperty(value = "头像")
	private String headImgUrl;
	/**
	 * 邀请码
	 */
	@ApiModelProperty(value = "邀请码")
	private String invitationCode ;
	/**
	 * 性别
	 */
    @ApiModelProperty(value = "性别")
	private Integer gender;
	/**
	 * 
	 */
    @ApiModelProperty(value = "")
	private String address;
	private Boolean enabled;
	/**
	 * 是否管理员
	 */
    @ApiModelProperty(value = "是否管理员")
	private Integer isAdmin;
	/**
	 * 是否加盟商
	 */
    @ApiModelProperty(value = "是否加盟商")
	private Integer isPartner;
    /**
	 * 站点ID
	 */
    @ApiModelProperty(value = "站点ID")
	private Integer siteId;
}
